source/mp3decoder.d(193,20): Error: pointer arithmetic not allowed in @safe functions source/mp3decoder.d(196,11): Error: pointer arithmetic not allowed in @safe functions source/mp3decoder.d(199,12): Error: pointer arithmetic not allowed in @safe functions source/mp3decoder.d(205,28): Error: safe function `mp3decoder.hdr_valid` cannot index pointer `h` source/mp3decoder.d(205,53): Error: safe function `mp3decoder.hdr_valid` cannot index pointer `h` source/mp3decoder.d(205,91): Error: `@safe` function `mp3decoder.hdr_valid` cannot call `@system` function `mp3decoder.HDR_GET_LAYER!(const(ubyte)*).HDR_GET_LAYER` source/mp3decoder.d(160,6): `mp3decoder.HDR_GET_LAYER!(const(ubyte)*).HDR_GET_LAYER` is declared here source/mp3decoder.d(205,120): Error: `@safe` function `mp3decoder.hdr_valid` cannot call `@system` function `mp3decoder.HDR_GET_BITRATE!(const(ubyte)*).HDR_GET_BITRATE` source/mp3decoder.d(164,6): `mp3decoder.HDR_GET_BITRATE!(const(ubyte)*).HDR_GET_BITRATE` is declared here source/mp3decoder.d(205,154): Error: `@safe` function `mp3decoder.hdr_valid` cannot call `@system` function `mp3decoder.HDR_GET_SAMPLE_RATE!(const(ubyte)*).HDR_GET_SAMPLE_RATE` source/mp3decoder.d(168,6): `mp3decoder.HDR_GET_SAMPLE_RATE!(const(ubyte)*).HDR_GET_SAMPLE_RATE` is declared here source/mp3decoder.d(209,30): Error: safe function `mp3decoder.hdr_compare` cannot index pointer `h1` source/mp3decoder.d(209,38): Error: safe function `mp3decoder.hdr_compare` cannot index pointer `h2` source/mp3decoder.d(209,63): Error: safe function `mp3decoder.hdr_compare` cannot index pointer `h1` source/mp3decoder.d(209,71): Error: safe function `mp3decoder.hdr_compare` cannot index pointer `h2` source/mp3decoder.d(209,112): Error: `@safe` function `mp3decoder.hdr_compare` cannot call `@system` function `mp3decoder.HDR_IS_FREE_FORMAT!(const(ubyte)*).HDR_IS_FREE_FORMAT` source/mp3decoder.d(124,6): `mp3decoder.HDR_IS_FREE_FORMAT!(const(ubyte)*).HDR_IS_FREE_FORMAT` is declared here source/mp3decoder.d(209,137): Error: `@safe` function `mp3decoder.hdr_compare` cannot call `@system` function `mp3decoder.HDR_IS_FREE_FORMAT!(const(ubyte)*).HDR_IS_FREE_FORMAT` source/mp3decoder.d(124,6): `mp3decoder.HDR_IS_FREE_FORMAT!(const(ubyte)*).HDR_IS_FREE_FORMAT` is declared here source/mp3decoder.d(223,38): Error: `@safe` function `mp3decoder.hdr_bitrate_kbps` cannot call `@system` function `mp3decoder.HDR_TEST_MPEG1!(const(ubyte)*).HDR_TEST_MPEG1` source/mp3decoder.d(136,6): `mp3decoder.HDR_TEST_MPEG1!(const(ubyte)*).HDR_TEST_MPEG1` is declared here source/mp3decoder.d(223,56): Error: `@safe` function `mp3decoder.hdr_bitrate_kbps` cannot call `@system` function `mp3decoder.HDR_GET_LAYER!(const(ubyte)*).HDR_GET_LAYER` source/mp3decoder.d(160,6): `mp3decoder.HDR_GET_LAYER!(const(ubyte)*).HDR_GET_LAYER` is declared here source/mp3decoder.d(223,80): Error: `@safe` function `mp3decoder.hdr_bitrate_kbps` cannot call `@system` function `mp3decoder.HDR_GET_BITRATE!(const(ubyte)*).HDR_GET_BITRATE` source/mp3decoder.d(164,6): `mp3decoder.HDR_GET_BITRATE!(const(ubyte)*).HDR_GET_BITRATE` is declared here source/mp3decoder.d(228,33): Error: `@safe` function `mp3decoder.hdr_sample_rate_hz` cannot call `@system` function `mp3decoder.HDR_GET_SAMPLE_RATE!(const(ubyte)*).HDR_GET_SAMPLE_RATE` source/mp3decoder.d(168,6): `mp3decoder.HDR_GET_SAMPLE_RATE!(const(ubyte)*).HDR_GET_SAMPLE_RATE` is declared here source/mp3decoder.d(228,66): Error: `@safe` function `mp3decoder.hdr_sample_rate_hz` cannot call `@system` function `mp3decoder.HDR_TEST_MPEG1!(const(ubyte)*).HDR_TEST_MPEG1` source/mp3decoder.d(136,6): `mp3decoder.HDR_TEST_MPEG1!(const(ubyte)*).HDR_TEST_MPEG1` is declared here source/mp3decoder.d(228,103): Error: `@safe` function `mp3decoder.hdr_sample_rate_hz` cannot call `@system` function `mp3decoder.HDR_TEST_NOT_MPEG25!(const(ubyte)*).HDR_TEST_NOT_MPEG25` /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.